package com.dxysun.design.mediator;

public class ConcreteColleagueB extends Colleague
{
	public ConcreteColleagueB(Mediator mediator)
	{
		super(mediator);
	}

	public void selfMethodB()
	{
		System.out.println("selfMethodB");
	}

	public void depMethodB()
	{
		System.out.println("depMethodB");
		mediator.transferToA();
	}
}
